<{include file="header.html"}>
			<div id="mains">
<{include file="left.html"}>
				<div class="right">
					<div class="device">
						<div class="rbar pr">
							<h3></h3>
						</div>	
						<{foreach from=$device_list item=dl}>
						<div class="d-list">
							<a href="#"><img src="upload/facility/<{$dl.facility_images}>" border="0" /></a>
						</div>
						<{/foreach}>

					</div>
				</div>
			</div>
<script>
$(document).ready(function() {

	$(".d-list > a").click(function() { 
		var s_img = $(this).children("img").attr("src");
		var b_img = s_img.replace(/_S_/, "_O_");
		window.location.href=b_img;
	
	});






});


</script>
<{include file="footer.html"}>